# coding=utf-8
from scrapy import cmdline
name = 'doubanspider -o douban.csv'
cmd = F'scrapy crawl {name}'
cmdline.execute(cmd.split()) # 相当于执行一个CMD命令